package com.qidianit.mes.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author 泽华
 * @Description
 * @Time 2024-10-23 23:17
 */
@HeadRowHeight(25)//表头行高
@ContentRowHeight(20)//内容行高
@ColumnWidth(20)//列宽

public class TestProcess {
    @ExcelProperty(value = "检验单编号",index = 0)
    private Long processId;
    @ExcelProperty(value = "检验类型",index = 1)
    private String processType;
    @ExcelProperty(value = "工单编号",index = 2)
    private String vendorId;
    @ExcelProperty(value = "产品物料编码",index = 3)
    private String materialNumber;
    @ExcelProperty(value = "产品物料名称",index = 4)
    private String materialName;
    @ExcelProperty(value = "规格型号",index = 5)
    private String model;
    @ExcelProperty(value = "单位",index = 6)
    private String unit;
    @ExcelProperty(value = "检测数量",index = 7)
    private Long testNumber;
    @ExcelProperty(value = "检测结果",index = 8)
    private String testResult;
    @ExcelProperty(value = "检测日期",index = 9)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testTime;
    @ExcelProperty(value = "检测人员",index = 10)
    private String incomingResult;
    @ExcelIgnore
    private Integer processStatus;


    public Long getProcessId() {
        return processId;
    }

    public void setProcessId(Long processId) {
        this.processId = processId;
    }

    public String getProcessType() {
        return processType;
    }

    public void setProcessType(String processType) {
        this.processType = processType;
    }

    public String getVendorId() {
        return vendorId;
    }

    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
    }

    public String getMaterialNumber() {
        return materialNumber;
    }

    public void setMaterialNumber(String materialNumber) {
        this.materialNumber = materialNumber;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Long getTestNumber() {
        return testNumber;
    }

    public void setTestNumber(Long testNumber) {
        this.testNumber = testNumber;
    }

    public String getTestResult() {
        return testResult;
    }

    public void setTestResult(String testResult) {
        this.testResult = testResult;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public String getIncomingResult() {
        return incomingResult;
    }

    public void setIncomingResult(String incomingResult) {
        this.incomingResult = incomingResult;
    }

    public Integer getProcessStatus() {
        return processStatus;
    }

    public void setProcessStatus(Integer processStatus) {
        this.processStatus = processStatus;
    }
}
